package com.frxuexi.lib_base

sealed class UiState<out T> {
    data class onSuccess<out T>(val data:T,val type:RequestType=RequestType.DEFAULT):UiState<T>()
    data class onError(val msg:String):UiState<String>()

    data object onLoading:UiState<Any>()
}